package com.plan.demo.service.serviceImpl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.plan.demo.entity.Duty;
import com.plan.demo.entity.User;
import com.plan.demo.mapper.DutyMapper;
import com.plan.demo.mapper.UserMapper;
import com.plan.demo.service.DutyService;
import com.plan.demo.service.UserService;
import com.plan.demo.vo.CountPeopleVo;
import com.plan.demo.vo.PlanVo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DutyServiceImpl extends ServiceImpl<DutyMapper, Duty> implements DutyService {
    @Override
    public void clear() {
        baseMapper.clear();
    }

    @Override
    public List<PlanVo> getPlan() {
        return baseMapper.getPlan();
    }

    @Override
    public List<CountPeopleVo> getCountPeople() {
        return baseMapper.getCountPeople();
    }

    @Override
    public List<CountPeopleVo> getCountPeopleAll() {
        return baseMapper.getCountPeopleAll();
    }
}
